﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nucleic.Core.DoMain
{
    /// <summary>
    /// 样本结果表
    /// </summary>
    [SugarTable("sample_result")]

    public class sample_result
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]

        public int res_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int sample_id { get; set; }
        public int type_id { get; set; }
        public int pat_id { get; set; }
        public string pat_name { get; set; }
        /// <summary>
        ///  1=男,2=女,3=未知
        /// </summary>
        public string sex { get; set; }
        public string idnum { get; set; }
        public string addr { get; set; }
        public string tel { get; set; }
        /// <summary>
        /// 0=阴性,1=疑似,2=阳性
        /// </summary>
        public string result { get; set; }

        /// <summary>
        /// 采样时间-对应样本从表的collect_time
        /// </summary>
        public DateTime collect_time { get; set; }

        /// <summary>
        /// 入库/签收时间
        /// </summary>
        public DateTime intime { get; set; }

        /// <summary>
        /// 报告时间
        /// </summary>
        public DateTime report_time { get; set; }

        /// <summary>
        /// 报告人
        /// </summary>
        public string oper_id { get; set; }

    }
}
